﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DownPopu.ascx.cs" Inherits="controls_front_DownPopu" %>

<div class="mod2 mt5">
    <div class="tt">
        <h3>站内热门下载</h3>
        <div class="more"></div>
    </div>
    <div class="cc">
    <ul>
        <asp:Repeater ID="downloadList" runat="server" >
            <ItemTemplate>
                <li>
                    <asp:HyperLink NavigateUrl='<%# "~/fileOutput.aspx?id="+Eval("id")%>' runat="server" ID="downloadLink" 
                        ToolTip='<%#"名称：" + Eval("Title") + "\n积分：" + Eval("Score") + "\n更新时间：" + Eval("PublishDate") + "\n下载次数：" + Eval("DownloadCount")%>' Target="_blank">
                        <%# ((string)Eval("Title")).Length > 11 ? ((string)Eval("Title")).Substring(0,11)+"...": Eval("Title")%>
                    </asp:HyperLink>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    </div>
</div>